import 'package:flutter/cupertino.dart';

///颜色主题
class ColorTheme {
  final Color? color4DB440;
  final Color? colorF05555;
  final Color? color4197FF;
  final Color? color202326;
  final Color? colorFFFFFF;
  final Color? colorBEC1CA;
  final Color? colorECF4FF;
  final Color? colorDFDCD9;
  final Color? color06A7FF;
  final Color? colorLine;
  final Color? color999999;
  final Color? colorFFDC2E;
  final Color? colorA3A3A3;
  final Color? colorEEF3FC;
  final Color? color7B7B85;

  ColorTheme({
    this.colorECF4FF,
    this.colorF05555,
    this.color4DB440,
    this.color4197FF,
    this.color202326,
    this.colorFFFFFF,
    this.colorDFDCD9,
    this.color06A7FF,
    this.colorBEC1CA,
    this.color999999,
    this.colorFFDC2E,
    this.colorLine,
    this.colorA3A3A3,
    this.colorEEF3FC,
    this.color7B7B85,
  });

  static ColorTheme of(BuildContext context) => ColorTheme(
    color4DB440: const Color(0xff4DB440),
    colorF05555: const Color(0xffF05555),
    color4197FF: const Color(0xff4197FF),
    color06A7FF: const Color(0xff06A7FF),
    color202326: const Color(0xff202326),
    colorECF4FF: const Color(0xffECF4FF),
    color999999: const Color(0xff999999),
    colorFFFFFF: const Color(0xffffffff),
    colorBEC1CA: const Color(0xffBEC1CA),
    colorDFDCD9: const Color(0xffDFDCD9),
    colorFFDC2E: const Color(0xffFFDC2E),
    colorLine: const Color(0xff353535),
    colorA3A3A3: const Color(0xffA3A3A3),
    colorEEF3FC: const Color(0xffEEF3FC),
    color7B7B85: const Color(0xff7B7B85),
  );
}
